package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnHwCrd;
import com.tjmc.tiomscore.model.TranPtnHwCrdExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnHwCrdMapper extends TranPtnHwSuperMapper<TranPtnHwCrd> {
    long countByExample(TranPtnHwCrdExample example);

    int deleteByExample(TranPtnHwCrdExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnHwCrd record);

    int insertSelective(TranPtnHwCrd record);

    List<TranPtnHwCrd> selectByExample(TranPtnHwCrdExample example);

    TranPtnHwCrd selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnHwCrd record, @Param("example") TranPtnHwCrdExample example);

    int updateByExample(@Param("record") TranPtnHwCrd record, @Param("example") TranPtnHwCrdExample example);

    int updateByPrimaryKeySelective(TranPtnHwCrd record);

    int updateByPrimaryKey(TranPtnHwCrd record);
}